///*
// * To change this template, choose Tools | Templates
// * and open the template in the editor.
// */
//package diagram.handles;
//
//import diagram.locations.Location;
//import java.awt.Graphics2D;
//import java.awt.Polygon;
//import java.awt.Rectangle;
//import java.awt.Shape;
//import java.awt.geom.AffineTransform;
//import java.awt.geom.PathIterator;
//import java.awt.geom.Point2D;
//import java.awt.geom.Rectangle2D;
//
///**
// *
// * @author Jelle
// */
//public class Triangle implements Shape {
//
//    Location p1, p2, p3;
//
//    //P1
//    //      P3
//    //P2
//    public Triangle(Location p1, Location p2, Location p3) {
//        this.p1 = p1;
//        this.p2 = p2;
//        this.p3 = p3;
//    }
//
//    public void paint(Graphics2D g) {
//        int[] xs = {p1.getX(), p2.getX(), p3.getX()};
//        int[] ys = {p1.getY(), p2.getY(), p3.getY()};
//        Polygon triangle = new Polygon(xs, ys, xs.length);
//        g.fillPolygon(triangle);
//    }
//
//
//
//
